/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufba.lasid.jitclouds.mda.api;

/**
 *
 * @author aliriosa
 */
public interface ICommunicationBus {
    public <Message> void send(Message msg) throws Exception;
    public <Data> Data receive() throws Exception;
    public <Data> Data receive(long timeout) throws Exception;
}
